package com.shop.service;

import com.github.pagehelper.PageInfo;
import com.shop.entity.Brand;

public interface BrandService {
    PageInfo<Brand> listBrand(Integer pageNum, Integer pageSize);
    Brand getBrand(String name);
    Brand getBrandById(Integer id);
    void addBrand(Brand brand);
    void deleteBrand(Integer id);
    void updateBrand(Brand brand);
    int getTotal();
}
